﻿using AutoMapper;
using CH.FourBoards.LagerWalti.Persistence.Entities;
using CH.FourBoards.LagerWalti.Service.DTOs.MasterData;

namespace CH.FourBoards.LagerWalti.Service.Mapping
{
    internal class MasterDataMapper
    {
        public void Register()
        {
            Mapper.CreateMap<Product, ProductDTO>();
            Mapper.CreateMap<ProductDTO, Product>();
            Mapper.CreateMap<Category, CategoryDTO>();
        }
	}
}
